package com.huadao.cart_ccs.greendao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;

@Entity
public class Sample {
    @Id
    private Long sampleId;
    //项目ID
    private long projectId;
    //实验阶段ID
    private long stageId;

//    private Date startDate;
//    private Date finishDate;
    //取样计数
    private String sampleCount;
    //计数细胞量
    private int cellAmount;
    //主罐体细胞液
    private int mainTankCellFluid;
    //调整前密度
    private double densityBeforeAdjust;
    //调整后密度
    private double densityAfterAdjust;
    //取样时间
    private Date date;
    //取样人
    private String operator;

    @Generated(hash = 1428273524)
    public Sample(Long sampleId, long projectId, long stageId, String sampleCount,
            int cellAmount, int mainTankCellFluid, double densityBeforeAdjust,
            double densityAfterAdjust, Date date, String operator) {
        this.sampleId = sampleId;
        this.projectId = projectId;
        this.stageId = stageId;
        this.sampleCount = sampleCount;
        this.cellAmount = cellAmount;
        this.mainTankCellFluid = mainTankCellFluid;
        this.densityBeforeAdjust = densityBeforeAdjust;
        this.densityAfterAdjust = densityAfterAdjust;
        this.date = date;
        this.operator = operator;
    }
    @Generated(hash = 976859954)
    public Sample() {
    }
    public Long getSampleId() {
        return this.sampleId;
    }
    public void setSampleId(Long sampleId) {
        this.sampleId = sampleId;
    }
    public long getProjectId() {
        return this.projectId;
    }
    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }
    public long getStageId() {
        return this.stageId;
    }
    public void setStageId(long stageId) {
        this.stageId = stageId;
    }
    public int getCellAmount() {
        return this.cellAmount;
    }
    public void setCellAmount(int cellAmount) {
        this.cellAmount = cellAmount;
    }
    public int getMainTankCellFluid() {
        return this.mainTankCellFluid;
    }
    public void setMainTankCellFluid(int mainTankCellFluid) {
        this.mainTankCellFluid = mainTankCellFluid;
    }
    public double getDensityBeforeAdjust() {
        return this.densityBeforeAdjust;
    }
    public void setDensityBeforeAdjust(double densityBeforeAdjust) {
        this.densityBeforeAdjust = densityBeforeAdjust;
    }
    public double getDensityAfterAdjust() {
        return this.densityAfterAdjust;
    }
    public void setDensityAfterAdjust(double densityAfterAdjust) {
        this.densityAfterAdjust = densityAfterAdjust;
    }
    public Date getDate() {
        return this.date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public String getOperator() {
        return this.operator;
    }
    public void setOperator(String operator) {
        this.operator = operator;
    }
    public String getSampleCount() {
        return this.sampleCount;
    }
    public void setSampleCount(String sampleCount) {
        this.sampleCount = sampleCount;
    }
    
}
